﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FerrScriptTester
{
    public class TestClass
    {
        private static int health;

        public int Health
        {
            get { return health; }
            set { health = value; }
        }

        public TestClass(int aHealth)
        {
            health = aHealth;
        }
        public TestClass()
            : this(100) { }

        public void Damage(int aAmt)
        {
            health -= aAmt;
        }
        public static void DoSomethingStatic(int aMult)
        {
            health = health * aMult;
        }

        public override string ToString()
        {
            return "TestClass, health " + health;
        }
    }
}
